import 'package:flutter/services.dart';

class UnicomEventChannel {
  final String channelName;
  EventChannel channel;

  UnicomEventChannel(this.channelName) : channel = EventChannel(channelName);

  Stream receiveBroadcast(dynamic args) {
    return channel.receiveBroadcastStream(args);
  }
}
